import request from '@/utils/request'
import API from './constans'

export const login = userinfo => request({
  url: API.API_LOGIN,
  method: 'POST',
  data: userinfo,
})
